object SrvKontrForm: TSrvKontrForm
  Left = 0
  Top = 0
  Caption = #1057#1087#1080#1089#1086#1082' '#1091#1089#1083#1091#1075' '#1087#1086' '#1087#1088#1080#1085#1094#1080#1087#1072#1083#1072#1084
  ClientHeight = 713
  ClientWidth = 733
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object lc1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 733
    Height = 713
    Align = alClient
    TabOrder = 0
    TabStop = False
    LayoutLookAndFeel = laf1
    object grd1: TcxGrid
      Left = 10
      Top = 28
      Width = 250
      Height = 200
      TabOrder = 0
      object v1: TcxGridDBTableView
        OnKeyUp = v1KeyUp
        NavigatorButtons.ConfirmDelete = False
        OnCellClick = v1CellClick
        DataController.DataSource = src_kontr
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Editing = False
        OptionsData.Inserting = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        object clv1CODE: TcxGridDBColumn
          Caption = #1050#1086#1076
          DataBinding.FieldName = 'CODE'
          Width = 54
        end
        object clv1NAME: TcxGridDBColumn
          Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
          DataBinding.FieldName = 'NAME'
          Width = 291
        end
        object clv1SRV: TcxGridDBColumn
          DataBinding.FieldName = 'SRV'
          Visible = False
          VisibleForCustomization = False
        end
      end
      object l1: TcxGridLevel
        GridView = v1
      end
    end
    object grd2: TcxGrid
      Left = 315
      Top = 28
      Width = 250
      Height = 200
      TabOrder = 1
      object v2: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.DataSource = src_m_srv
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        OptionsView.Indicator = True
        object clv2CODE: TcxGridDBColumn
          Caption = #1050#1086#1076
          DataBinding.FieldName = 'CODE'
          Options.Editing = False
          Width = 75
        end
        object clv2NAME: TcxGridDBColumn
          Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
          DataBinding.FieldName = 'NAME'
          Options.Editing = False
          Width = 223
        end
        object clv2CHK: TcxGridDBColumn
          DataBinding.FieldName = 'CHK'
          PropertiesClassName = 'TcxCheckBoxProperties'
          Properties.NullStyle = nssUnchecked
          Properties.ValueChecked = 1
          Properties.ValueUnchecked = 0
          Properties.OnChange = clv2CHKPropertiesChange
          Width = 44
          IsCaptionAssigned = True
        end
      end
      object l2: TcxGridLevel
        GridView = v2
      end
    end
    object btn_save: TcxButton
      Left = 315
      Top = 678
      Width = 75
      Height = 25
      Caption = #1057#1086#1093#1088#1072#1085#1080#1090#1100' '#1080#1079#1084#1077#1085#1077#1085#1080#1103
      Enabled = False
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        04000000000080000000C40E0000C40E00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333300007777777003300000788888800030000078008880003000007800888
        0003000007888888000300000000000000030000000000000003000FFFFFFFFF
        0003000FFFFFFFFF0003000FFFFFFFFF0003000FFFFFFFFF0003000FFFFFFFFF
        0003000FFFFFFFFF0703000FFFFFFFFF00033009999999990033}
      TabOrder = 2
      OnClick = btn_saveClick
    end
    object grp1: TdxLayoutGroup
      AlignHorz = ahClient
      AlignVert = avClient
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      object itm_grd1: TdxLayoutItem
        AlignVert = avClient
        CaptionOptions.AlignHorz = taCenter
        CaptionOptions.Text = #1055#1088#1080#1085#1094#1080#1087#1072#1083#1099
        CaptionOptions.Layout = clTop
        SizeOptions.AssignedValues = [sovSizableHorz]
        SizeOptions.SizableHorz = True
        SizeOptions.Width = 285
        Control = grd1
        ControlOptions.ShowBorder = False
      end
      object spl1: TdxLayoutSplitterItem
        CaptionOptions.Text = 'Splitter'
        SizeOptions.AssignedValues = [sovSizableHorz, sovSizableVert]
        SizeOptions.SizableHorz = False
        SizeOptions.SizableVert = False
        SizeOptions.Width = 8
      end
      object grplc1Group1: TdxLayoutGroup
        AlignHorz = ahClient
        ButtonOptions.Buttons = <>
        Hidden = True
        ShowBorder = False
        object itm_grd2: TdxLayoutItem
          AlignHorz = ahClient
          AlignVert = avClient
          CaptionOptions.AlignHorz = taCenter
          CaptionOptions.Text = #1059#1089#1083#1091#1075#1080
          CaptionOptions.Layout = clTop
          Control = grd2
          ControlOptions.ShowBorder = False
        end
        object itm_save: TdxLayoutItem
          CaptionOptions.Text = 'cxButton1'
          CaptionOptions.Visible = False
          Enabled = False
          Control = btn_save
          ControlOptions.ShowBorder = False
        end
      end
    end
  end
  object lkf1: TdxLayoutLookAndFeelList
    Left = 552
    Top = 152
    object laf1: TdxLayoutCxLookAndFeel
    end
  end
  object ds_kontr: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT CODE, '
      '       NAME, '
      '       SRV'
      'FROM SPR$KONTRAGENT')
    Transaction = dm1.trnRD
    Database = dm1.db1
    UpdateTransaction = dm1.trnWr
    Left = 64
    Top = 120
  end
  object src_kontr: TDataSource
    DataSet = ds_kontr
    Left = 92
    Top = 120
  end
  object prop1: TcxPropertiesStore
    Components = <>
    StorageName = 'prop1'
    Left = 580
    Top = 152
  end
  object ds_srv: TpFIBDataSet
    SelectSQL.Strings = (
      'select code, name, 0 chk from SPR$SRV'
      'order by name')
    Transaction = dm1.trnRD
    Database = dm1.db1
    UpdateTransaction = dm1.trnWr
    Left = 452
    Top = 232
  end
  object m_srv: TdxMemData
    Indexes = <>
    SortOptions = []
    Left = 480
    Top = 232
  end
  object src_m_srv: TDataSource
    DataSet = m_srv
    Left = 508
    Top = 232
  end
end
